package popcorn.ticket.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import popcorn.ticket.dao.LanguageMapper;
import popcorn.ticket.entity.Language;
@RestController
public class LanguageController {
	
	@Autowired
	LanguageMapper lm;
	
	@RequestMapping("Language")
	public List<Language> getALL(){
		
		return lm.getAllL();
	}
}
